<template>
  <div>
    <h2 class="title">{{ message }}</h2>
    <button @click="btnClick">点击</button>
    <h2>{{ name }}</h2>
    <cpn></cpn>
  </div>
</template>

<script>

import Cpn from './Cpn'

export default {
  name: "App",
  components: {
    Cpn
  },
  data() {
    return {
      message: "hello webpack",
      name: "wowoow",
    };
  },
  methods: {
    btnClick() {
      console.log(0);
    },
  },
};
</script>

<style lang="" scoped>
  .title{
    color: blue;
  }
</style>
